.upload-area {
  border: 4rpx dashed #ddd;
  border-radius: 24rpx;
  padding: 80rpx 0;
  text-align: center;
  background: #fafafa;
  margin: 40rpx 0;
  transition: all 0.2s;
  cursor: pointer;
}
.upload-area:active {
  border-color: #667eea;
  background: #f0f4ff;
}
.upload-icon {
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30rpx;
  font-size: 48rpx;
}
.upload-text {
  font-size: 32rpx;
  font-weight: 600;
  margin-bottom: 10rpx;
  color: #333;
}
.upload-hint {
  font-size: 24rpx;
  color: #666;
}
.upload-progress {
  margin: 40rpx 0;
}
.progress-bar {
  width: 100%;
  height: 12rpx;
  background: #e0e0e0;
  border-radius: 6rpx;
  overflow: hidden;
  margin-top: 10rpx;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 6rpx;
  transition: width 0.3s;
}
.upload-steps {
  margin-top: 60rpx;
  background: #f8f9ff;
  border-radius: 24rpx;
  padding: 30rpx;
}
.steps-title {
  font-size: 32rpx;
  font-weight: 600;
  margin-bottom: 20rpx;
  color: #333;
}
.steps-desc {
  font-size: 26rpx;
  color: #666;
  line-height: 1.8;
}
.upload-area {
  display: inline-block;
  width: 100% !important;
}

.uploaded-images {
  position: relative;
  display: flex;
  flex-wrap: wrap; 
  flex-direction: row;
  justify-content: space-between; 
  gap: 20rpx; 
  margin: 20rpx 0;
}

.uploaded-image-item {
  width: 100%; 
  aspect-ratio: 1 / 1; 
  margin-bottom: 10rpx; 
  padding: 5rpx;
  box-sizing: border-box;
}

.uploaded-image-item:only-child {
  width: 80%;
  margin: 0 auto;
}

/* 当有两张图片时，各占50%宽度 - 使用更兼容的写法 */
.uploaded-image-item:first-child:nth-last-child(2),
.uploaded-image-item:nth-last-child(2):nth-child(2) {
  width: calc(50% - 10rpx);
}

.uploaded-image-item .van-image {
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  border-radius: 12rpx;
  background-color: #f5f5f5;
}

.delete-icon {
  position: absolute;
  top: 10rpx;
  right: 10rpx;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  padding: 10rpx;
}